Re: Minimum Hardware requirement - reg

2019-06-28 Thread Raja Sekar Sampath
Thanks to all for the valuable reply

On Wed, 26 Jun 2019 at 08:57, Aldian Fazrihady  wrote:

> Can you convince your client to use clouds instead of self hosting?
> Cloud such as AWS or GCP is easily scriptable, allowing to create
> critical/important automation scripts.
>
> Regards,
>
> Aldian Fazrihady
>
> On Wed, Jun 26, 2019 at 1:19 AM Raja Sekar Sampath 
> wrote:
>
>> Hi,
>>
>> What are the facts to be considered while determine the server
>> configuration for a Django Application?
>>
>> My Client preferring self hosting, the project having 8 different (apps)
>> modules and we expect 20 to 30 users concurrently login into the system and
>> Its having automated cron jobs
>>
>> Thanks & Regards,
>> Raja Sekar Sampath
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAAS5AE6rKGG1Z4LL2SRzQ9X-OE6-HACY41iFrj1qxjRuhU_hxQ%40mail.gmail.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAN7EoAZ_XjXHd%2BJ-Gdd1rNOS4HaTQwZLAVar%3DjfT0kZWB4pSyQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
"Making a million friends is not a miracle, the miracle is to make a friend
who will stand by you when a million are against you. "



Have a Smileness Day
With A Smile
Rs.

e-mail: apkra...@gmail.com
Web: https://apkrajar.wordpress.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAAS5AE7P2k8ApOxzaFawHG4Fyj2_T6rGrAaV%2B479jMKTKm9eEA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Minimum Hardware requirement - reg

2019-06-25 Thread Aldian Fazrihady
Can you convince your client to use clouds instead of self hosting?
Cloud such as AWS or GCP is easily scriptable, allowing to create
critical/important automation scripts.

Regards,

Aldian Fazrihady

On Wed, Jun 26, 2019 at 1:19 AM Raja Sekar Sampath 
wrote:

> Hi,
>
> What are the facts to be considered while determine the server
> configuration for a Django Application?
>
> My Client preferring self hosting, the project having 8 different (apps)
> modules and we expect 20 to 30 users concurrently login into the system and
> Its having automated cron jobs
>
> Thanks & Regards,
> Raja Sekar Sampath
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAAS5AE6rKGG1Z4LL2SRzQ9X-OE6-HACY41iFrj1qxjRuhU_hxQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAN7EoAZ_XjXHd%2BJ-Gdd1rNOS4HaTQwZLAVar%3DjfT0kZWB4pSyQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Minimum Hardware requirement - reg

2019-06-25 Thread Sam Taiwo
I think think the first advice is way off base in two ways.

1) It's not clumsy to have 8 apps if that is the the structure of the
project that makes each part encapsulated and reusable.

2) 30 concurrent users in one app can be more demanding than 1000 in
another. It really depends on what each user is doing. Though it if your
site is like 99% of others you shouldn't't need to worry about hardware.

On Wed, 26 Jun 2019, 00:47 Yoo,  wrote:

> 8 app modules? That's a little clumsy. Something that would require that
> many app modules would be like docs.google.com and drive.google.com.
> Google has a LOT of different platforms which, if programmed in Django,
> would need several app modules. I'm 90% sure you'll only need one app.
>
> Hardware requirement is not something you need to consider based off
> Django. It's more about the transaction costs (writes and reads and etc.).
> Since it's only 30 clients, I imagine self hosting wouldn't be a problem at
> all. You could probably buy a Raspberry Pi 4 and host on there without a
> problem for the next 5 years.
>
> For cron jobs, check out this:
> https://stackoverflow.com/questions/573618/django-set-up-a-scheduled-job .
> You can also use the Advanced Python Scheduler (APS) for scheduled tasks.
>
> Several users logging into the system isn't a problem. Django has session
> authentication, so users can do whatever they want, concurrently. If you're
> looking into setting up a Chatroom package, you can check out python's
> asyncio and django-channels package for asynchronous tasks.
>
> Again, hardware with the conditions you listed should be the least of your
> worries. Just make sure that everything works and is secure. You could
> utilize Django-registration and Django-pwned-passwords. Make sure your
> setting's important information, like the secret key and database
> passwords, are stored in environment variables.
>
> On Tuesday, June 25, 2019 at 2:19:18 PM UTC-4, Raja Sekar Sampath wrote:
>>
>> Hi,
>>
>> What are the facts to be considered while determine the server
>> configuration for a Django Application?
>>
>> My Client preferring self hosting, the project having 8 different (apps)
>> modules and we expect 20 to 30 users concurrently login into the system and
>> Its having automated cron jobs
>>
>> Thanks & Regards,
>> Raja Sekar Sampath
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/a8e59b16-7a6e-43fc-8ffe-63d0e77ab19e%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHKA7fB3yRYozsyoyeS7V4-rM8wwnTrHGrJi_9CZh8zUL-xKgQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Minimum Hardware requirement - reg

2019-06-25 Thread Yoo
8 app modules? That's a little clumsy. Something that would require that 
many app modules would be like docs.google.com and drive.google.com. Google 
has a LOT of different platforms which, if programmed in Django, would need 
several app modules. I'm 90% sure you'll only need one app.

Hardware requirement is not something you need to consider based off 
Django. It's more about the transaction costs (writes and reads and etc.). 
Since it's only 30 clients, I imagine self hosting wouldn't be a problem at 
all. You could probably buy a Raspberry Pi 4 and host on there without a 
problem for the next 5 years.

For cron jobs, check out this: 
https://stackoverflow.com/questions/573618/django-set-up-a-scheduled-job . 
You can also use the Advanced Python Scheduler (APS) for scheduled tasks.

Several users logging into the system isn't a problem. Django has session 
authentication, so users can do whatever they want, concurrently. If you're 
looking into setting up a Chatroom package, you can check out python's 
asyncio and django-channels package for asynchronous tasks.

Again, hardware with the conditions you listed should be the least of your 
worries. Just make sure that everything works and is secure. You could 
utilize Django-registration and Django-pwned-passwords. Make sure your 
setting's important information, like the secret key and database 
passwords, are stored in environment variables.

On Tuesday, June 25, 2019 at 2:19:18 PM UTC-4, Raja Sekar Sampath wrote:
>
> Hi,
>
> What are the facts to be considered while determine the server 
> configuration for a Django Application?
>
> My Client preferring self hosting, the project having 8 different (apps) 
> modules and we expect 20 to 30 users concurrently login into the system and 
> Its having automated cron jobs 
>
> Thanks & Regards,
> Raja Sekar Sampath
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a8e59b16-7a6e-43fc-8ffe-63d0e77ab19e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.