Microservices in Python/Django?

11 views
Skip to first unread message

Lemuel Formacil

unread,
Mar 1, 2015, 5:59:29 AM3/1/15
to python-mena
Hey, guys.

If you want to expose your, say, django models to other apps how would you do it?  I know django-rest-framework is one way to expose your models but is HTTP fast enough?  Are there any other frameworks in Python that can easily expose "models" in other protocols?

Dush, can you share how you guys do it again?  What tools/projects do you guys use?  Can you guys opensource your "framework"? :)


--
Lemuel

azizmb.in

unread,
Mar 1, 2015, 7:14:26 AM3/1/15
to Lemuel Formacil, python-mena
Having had used micro services for some time now, I think the problem with http is not speed. If you consider internal network, its fast enough, the problem that I do have is, things like transactions and atomic operations. These are much harder to tackle, and I haven't found a decent solution to that problem yet.

--
You received this message because you are subscribed to the Google Groups "from mena import python" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-mena...@googlegroups.com.
To post to this group, send email to pytho...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Abde Sayedna,
Aziz M. Bookwala

Mohammad Rafay Aleem

unread,
Mar 2, 2015, 12:01:09 AM3/2/15
to pytho...@googlegroups.com, lem...@gmail.com, m...@azizmb.in
@Aziz I think ZooKeeper API can be explored to build services that require atomic operations. It offers really cool locking mechanisms for reads and writes. You can read the paper here: http://www.bruzgys.eu/files/ZooKeeper%20-%20Wait-free%20coordination%20for%20Internet-scale%20systems.pdf
Reply all
Reply to author
Forward
0 new messages