Micro services are services which you could split the workload onto 
different servers to handle load. I think for that purpose, you'd want to 
write in flask or bottle. You could use web2py but I think it's overkill 
for micro services.

On Tuesday, July 28, 2015 at 11:49:36 AM UTC-7, Dave S wrote:
>
>
>
> On Tuesday, July 28, 2015 at 8:00:37 AM UTC-7, Samuel Sowah wrote:
>>
>> By intersect, I refer to how web2py is used to make microservices. The 
>> reason I ask this is, to know if services are different from applications. 
>> and If I wanted to create multiple microservices, do I need multiple 
>> applications? if I need just one, wouldn't that defeat the purpose 
>> of microservices since the idea is to have multiple services 
>> in different servers/containers?
>>
>>
> I haven't encountered the term "microservices" before, and I'm not sure I 
> understand how it's being used?  How does it differ from non-micro services?
>
> As to services in web2py, I consider that to be implemented by controllers 
> that use SOAP or JSON or similar service attributes (in web2py, usually by 
> means of decorators on the controller declaration).  You can either view a 
> service to be the one URL, or a package of related URLs done in a similar 
> manner.  Some of these controllers will be just a few lines of code, some 
> will be more extensive (IIRC, I have one that runs about 30 lines).
>
> You could make separate applications for each controller, but if they 
> share some commonality it may be nicer to group them together in one app.
>
> My thoughts, worth what you paid for them.
>
> /dps
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to