view counter

Servers & Storage Feed

Sun Servers and Storage, Solaris, Oracle Linux, Red Hat Linux, Oracle VM for x86, Oracle VDI and Virtualization resources, news, and support articles.

Rackspace hosts Xen Project Hackathon, May 29-30 in London

I am pleased to announce the next Xen Project Hackathon. The Hackathon will be hosted by Rackspace in their London offices, May 29 and 30. I wanted to thank Paul Voccio and Gus Maskowitz from Rackspace for hosting the Hackathon. I also wanted to thank Rackspace for hosting the Xen Project wiki, mailing lists, blog and other services. This goes well with Rackspace’s motto:

Early performance numbers

I've added a benchmark tool to my Go implementation of nanomsg's SP protocols, along with the inproc transport, and I'll be pushing those changes rather shortly.

In the meantime, here's some interesting results:
Latency Comparision

Python file operations – read/write/append

 
To read and existing file use following code. In this code I am trying to read inputFile, it will throw IOError if given input file is not available.

Python file operations – read/write/append

 
To read and existing file use following code. In this code I am trying to read inputFile, it will throw IOError if given input file is not available.

SP (nanomsg) in Pure Go

I'm pleased to announce that this past weekend I released the first version of my implementation of the SP (scalability protocols, sometimes known by their reference implementation, nanomsg) implemented in pure Go. This allows them to be used even on platforms where cgo is not present.  It may be possible to use them in playground (I've not tried yet!)

Python convert string to list/tuple/dictionary

By using ast modules literal_eval function we can convert any python string to valid literal.
ast modules literal_eval function will only evaluates string that are valid python literals.
Lets try with an example:
I have file with some valid python literals and I want to evaluate each of them.
Content of my input file is following:
[1, 2, 3]
(1, 2, 3)
{‘a’:1, ‘b’:2, ‘c’:3}
‘abc’
123
Here I want to detect type of literal in each line.
First I will try with a simple example:

Python convert string to list/tuple/dictionary

By using ast modules literal_eval function we can convert any python string to valid literal.
ast modules literal_eval function will only evaluates string that are valid python literals.
Lets try with an example:
I have file with some valid python literals and I want to evaluate each of them.
Content of my input file is following:
[1, 2, 3]
(1, 2, 3)
{‘a’:1, ‘b’:2, ‘c’:3}
‘abc’
123
Here I want to detect type of literal in each line.
First I will try with a simple example:

Xen Project Team Hits the Road

You’ll find many of our members and contributors taking on more than coding this spring. We’re excited to attend several upcoming industry events and share Xen Project milestones, news, use cases and roadmap updates in-person with many in our community.

We encourage you to attend any of these upcoming Xen Project talks. And, if you do, make sure to introduce yourself to the speaker.  It’s always good to meet new people from the Xen Project community!

Xeon Phi Updates (22 Mar 2014)

The test was done with 2 socket of Xeon E5-2670 with Xeon Phi Coprocessor. For more information, see Intel® Xeon Phi™ Coprocessor

Perl – Can’t locate XML/Simple.pm in @INC

Recently while I am trying to reuse a perl scrip I got an error saying “Can’t locate XML/Simple.pm in @INC”.
Following is complete error message:
Can’t locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .)

view counter