OK, so when you say "web2py client", you don't mean a browser but a 
server-side web2py application that happens to be communicating with 
another server-side web2py application (on a different server). In that 
case, I suppose the obvious approach is to use Python to make HTTP requests 
from your client to the www.example.com domain. To do that, there is 
nothing web2py specific -- you can use the "requests" library (or urllib2 
directly). Depending on the nature of the data and what needs to happen 
with it, you might find this helpful: 
http://web2py.com/books/default/chapter/29/10/services#Restful-Web-Services. 
You could also use remote procedure calls 
<http://web2py.com/books/default/chapter/29/10/services#Remote-procedure-calls>
.

Regarding the server receiving multiple requests at the same time, that 
shouldn't be a problem, as web2py (and whatever web server you are using) 
are designed to handle concurrent requests.

Anthony

On Thursday, July 21, 2016 at 12:51:41 PM UTC-4, Aydin wrote:
>
> Sure, Let's say I have a machine connected running web2py, this app will 
> be sending data out (does not have a domain name and its ip is dynamic). I 
> use scheduler to routinely send the data (every 2 min). I want this app 
> send data to a web2py server (has domain like www.example.com). let's say 
> I have two of these machines running web2py and will send the data at the 
> same time to my web2py server on www.example.com. I want to know 1) what 
> approaches are out there and which one is more appropriate, 2) is there 
> going to be problem if the web2py server receives data by two machines at 
> the same time. 
> (by the way I cann't use sharing databases because the machines don't have 
> domain associated with them and their ip is dynamic).
>
> On Thursday, July 21, 2016 at 11:13:49 AM UTC-4, Anthony wrote:
>>
>> On Thursday, July 21, 2016 at 8:22:21 AM UTC-4, Aydin wrote:
>>>
>>> Thanks, yes, I know of the forms, I was just wondering if there are 
>>> other services or methods that I may not know.
>>>
>>
>> I think you need to explain more specifically what you are trying to do.
>>
>> Anthony
>>
>

-- 
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