ShellInABox + Harbour Technologies - A Working Model

868 views
Skip to first unread message

Pritpal Bedi

unread,
Sep 22, 2017, 5:24:35 PM9/22/17
to Harbour Users
Hello Everybody

Below is the link and usernames/password to have a 
demonstration of what Harbour can achieve, and how fluently,
and can keep pace with modern technologies.

This implementation consumes following components:

EXTERNAL
ShellInABox

HARBOUR
GTNET  -  Request  Przemek to make available this fantastic library as a Commercial Distribution 
HBNETIO - For certain parts of wider implementation - Thanks Przemek
HBHTTPD - For REST compliant, highly validation oriented, re-routing engine (tuned for my purposes) - Thanks Mindagaus
DBFCDX - Our beloved database driver - Thanks Przemek and all others who contributed
HBHARUPDF - Using enhanced version of PDFClass() - Thanks Jose M.C. Quintas 

COMPILER
GCC

OS
Ubuntu 14.04 LTS - AMI - Amazon Machine Image

INFRASTRUCTURE
AWS - EC2.: SSL Offloading is materialized on the load-balancer.


LINK TO DEMO APPLICATION 

USERNAMES
VouchUser1, VouchUser2, VouchUser3, VouchUser4, VouchUser5, VouchUser6, VouchUser7, VouchUser8, VouchUser9, VouchUser10

PASSWORDS
u01, u02, u03, u04, u05, u06, u07, u08, u09, u10


ACTIONS FROM PROGRAMMERS POINT OF VIEW - PROVIDING REPORTS VIA HTTPS

Trading > Sales > F3.Brow > F4.Prnt > Click on the https link in the alert  > Reports PDF will open in the browser

Accounts > Vouchers (S) > F3.Brow > F9.Stat > And look at the time it took to scroll browser for 5100+ records.
The similar operation on desktop application takes thrice this time - the powerful DBFCDX.

This Software-As-A-Service architecture is about to be rolled-out for Indian businesses in the near future.
The architect is highly distributed, scalable, and fault tolerant. This implementation also exposes 
Windows desktop client and Android mobile client with different usages. But for sure browser based 
interface is expected to gain major importance.

THE IMAGE OF THE APPLICATION




Pritpal Bedi

a student of software analysis & concepts





Roberto Borges

unread,
Sep 22, 2017, 5:30:47 PM9/22/17
to Harbour Users
Very good.

Domenico D'Oria

unread,
Sep 23, 2017, 1:15:13 AM9/23/17
to Harbour Users
Hi Pritpal

thanks for your example

a simple question

how many concurrent user can work at the same time, 10, 100, 1000, 10000, 100000 ?

 regards
Domenico

Pritpal Bedi

unread,
Sep 23, 2017, 3:15:48 AM9/23/17
to Harbour Users
Hi


 
thanks for your example

a simple question

how many concurrent user can work at the same time, 10, 100, 1000, 10000, 100000 ?


Depends upon the infrastructure capacity.
I have tested on EC2-Nano ( 500mb of ram ) fraction of a core cpu,
and could connect 40 users concurrently without issues. Provide the 
server of many cores and memory and you can run as much instances 
as possible. From applications point of view there are no limitations.

Also I told that this is a distributed system.  Means, one server will hold 
accounts as many users as can it hold. For example, if I attract 20 accounts 
of 2 users each, I can host all of them on one T2-Nano. 41st user, or 21st 
business account will go on another server. In case I attract an account with,
say 100 users, then I will host them on a better server, may be t2-small
or better to ensure that all 100 users are capable of logging simultaneously.
Connected users are entirely based on the the underlying hardware 
infrastructure. More cpu power, more the concurrent users.

From DBFCDX point of view I have not faced any issues no matter 
how many users are logged-in together. Even in case of NETIO the 
connectivity has never been a restriction.

BTW, if I have not missed, what you mean by concurrent users ?

Concurrent users logged for one account ?
Concurrent users logged on one server ?
Concurrent users accessing one table ?

I tried to explain all above scenarios but in descriptive manner.
If you have specific, let me know, will try to answer per best of my knowledge.

Leonardo Machado

unread,
Sep 23, 2017, 9:49:54 PM9/23/17
to Harbour Users
Master, congratulations. It was very good.
Could it be that in the future, it would be possible to run graphical screens like (Hwgui) in a scenario like this?

Leonardo Machado

Em sexta-feira, 22 de setembro de 2017 18:24:35 UTC-3, Pritpal Bedi escreveu:

Pritpal Bedi

unread,
Sep 23, 2017, 10:22:00 PM9/23/17
to Harbour Users
Hi


Could it be that in the future, it would be possible to run graphical screens like (Hwgui) in a scenario like this?


No.
This is a pure console implementation - GTNET + GTTRM.

Leonardo Machado

unread,
Sep 24, 2017, 8:56:04 AM9/24/17
to harbou...@googlegroups.com
ok, tks

--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-users+unsubscribe@googlegroups.com
Web: http://groups.google.com/group/harbour-users

---
You received this message because you are subscribed to a topic in the Google Groups "Harbour Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/harbour-users/OUdlcytF08s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to harbour-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Atenciosamente,
Leonardo Machado
Tel:(0xx51)3442-2345
www.sygecom.com.br

Angel Pais

unread,
Sep 24, 2017, 10:36:39 AM9/24/17
to harbou...@googlegroups.com
Hi Pritpal

What does gtnet exactly do in this chain ?
How you limit your console session to only one app and id session ?

Regards
Angel Pais

You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-users+unsubscribe@googlegroups.com.

Pritpal Bedi

unread,
Sep 24, 2017, 2:27:07 PM9/24/17
to Harbour Users
Hi Angel


 
What does gtnet exactly do in this chain ?


Though Przemek can provide a detailed insight into the subject, I try to explain 
from a user's point-of-view. GTNET is a 3-component implementation.
GTNET Client 
GTNET Server
GTNET Application

Client connects to Server which spawns Application and Client-Application 
communication is established. 
 

How you limit your console session to only one app and id session ?


No need of any session management. It is a direct TCP implementation. A connected architecture.

Angel Pais

unread,
Sep 24, 2017, 3:17:22 PM9/24/17
to harbou...@googlegroups.com
Very Interesting !

--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-users+unsubscribe@googlegroups.com
Web: http://groups.google.com/group/harbour-users

---

Domenico D'Oria

unread,
Sep 25, 2017, 3:31:02 AM9/25/17
to Harbour Users
Hi Pritpal

thank for your replay

may question is techincal , how many concurrent users simultaneously logged and working on a server ?.

but now some questions

where we can download GTNET ?

a mini HOWTO for use it can be possible ?

regards

Domenico


Francesco Perillo

unread,
Sep 25, 2017, 3:36:23 AM9/25/17
to harbou...@googlegroups.com
GTNET is not public.

More than 2 years ago Przemek explained what GTNET is.

Pritpal Bedi

unread,
Sep 25, 2017, 4:50:46 AM9/25/17
to Harbour Users
Hi


may question is techincal , how many concurrent users simultaneously logged and working on a server ?.


This is exactly what  I had explained. Again, 
The concurrent connectivity per server is dependant 
on the the hardware capacity. CPU, cores, memory and bandwidth
are the deciding factor. For example on a AWS-EC2:t2-nano 
( 500 mb - 10% of a core ) I am able to connect 44 clients.
On a T2-Large I can connect 200 clients. Provide it more 
powerful server for more connections. 

Harbour and GTNET do not impose any restrictions on number of users.


 
where we can download GTNET ?


This has to be requested to Przemek, as I had announced in original post.
 GTNET is scheduled to be released commercially but when, is not known to 
the community.


a mini HOWTO for use it can be possible ?


I am not authorized to shed any details. Wait until Przemek makes up his mind to this effect.

kamleh patel

unread,
Sep 26, 2017, 10:40:02 AM9/26/17
to Harbour Users
Pritpalji,

Shastrikal

Sir,
Very Good, 

I am create New User and User create success but not found client key and user and password.

Thanks & Regards
Kamlesh

Pritpal Bedi

unread,
Sep 26, 2017, 11:42:59 AM9/26/17
to Harbour Users
Hi Kamlesh

SatSiriAkal.
Thanks for using my native salutation.


I am create New User and User create success but not found client key and user and password.


This is a demo version. You have to use one of the username and corresponding password
which I have provided. Creating a new user involves some parameters which are available 
only when someone request for a commercial license. Demo Vouch is made available 
to Harboureans is to showcase the power of Harbour and undisputed capabilities of Przemek.

I have setup other endpoints which do not show-up Create, Delete options:

HTTPS


HTTP


And some more but above are enough for all of you to play with.
You will not be asked to enter username / password by clicking on above links.
You are free to add/edit/delete and all other actions the software implements.

kamleh patel

unread,
Sep 27, 2017, 5:48:21 AM9/27/17
to harbou...@googlegroups.com
Sir,
Thank You for Replay

How to use gtnet+shellinbox with harbour

Thanks & Regards
Kamlesh

--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-users+unsubscribe@googlegroups.com
Web: http://groups.google.com/group/harbour-users

---
You received this message because you are subscribed to a topic in the Google Groups "Harbour Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/harbour-users/OUdlcytF08s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to harbour-users+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages