V
Virendra Negi
hello to all
I have been working on sinatra for quite while now and i found it
as great as Rails
I recently constructed a sintra application that return result in
Xml format
all i wanted to know
1) how do i change the xml version of the generated xml
because currently "xml.instruct!"
generate the xml with version "1.0"
i needed to change it to version "1.1"
2) Iam using sinatra application to interact with the other
applications
Now currently the response time for sinatra is fluctuating.
as in the sinatra application seem to take different time for
for same request each time queried to it
i.e sometimes it takes less a second or so to return back the
response
the other time it take more than five second to do so.
any thought on why it is happening and what can i do to
bring down the 5+ second response time to less than a second
Thanks anyway
I have been working on sinatra for quite while now and i found it
as great as Rails
I recently constructed a sintra application that return result in
Xml format
all i wanted to know
1) how do i change the xml version of the generated xml
because currently "xml.instruct!"
generate the xml with version "1.0"
i needed to change it to version "1.1"
2) Iam using sinatra application to interact with the other
applications
Now currently the response time for sinatra is fluctuating.
as in the sinatra application seem to take different time for
for same request each time queried to it
i.e sometimes it takes less a second or so to return back the
response
the other time it take more than five second to do so.
any thought on why it is happening and what can i do to
bring down the 5+ second response time to less than a second
Thanks anyway