[Maas-devel] Getting rid of bootresources.yaml (sort of)
Gavin Panella
gavin.panella at canonical.com
Tue Apr 29 11:12:17 UTC 2014
On 29 April 2014 00:13, Julian Edwards <julian.edwards at canonical.com> wrote:
> On 28/04/14 19:11, Graham Binns wrote:
>> On 28 April 2014 01:01, Julian Edwards <julian.edwards at canonical.com> wrote:
>>> I am coming round to thinking that the download code should be
>>> implemented as part of the pserv process (using Twisted) so that we can
>>> use RPC calls to update the region.
>>
>> I'm slightly leery of that because my Twisted is not that hot, but
>> that aside I can see it working well… it definitely gives us good
>> options for providing feedback.
>
> Consider it a chance to learn something ;)
Don't be afraid to read Twisted's source code. It can be difficult to
get into the Twisted mindset, but once there you'll find it's not all
that complex; it's just Python. It has history and idiosyncrasies,
but, contrary to protestations of its legs being missing, it is being
actively developed. From what I've read so far, Twisted also seems to
have strongly inspired asyncio, the new async library in Python 3.4,
so you're not wasting time on it. I suspect using Twisted with asyncio
is already possible, but, by the time we get to Python 3, I think
it'll be simple, so migrating will not be all-or-nothing.
Then, if you get stuck, don't know where to start, or think you're
doing it wrong, talk to me. I may not know the answer straight off,
but I'll help find it.
Gavin.
More information about the Maas-devel
mailing list