|
by: noah |
last post by:
Hi,
I'm in the middle of writing a multi-user system with very
critical timing issues. I've already implemented a cache and an API to
access it (with appropriate locking for multithreaded access). This
shared cache is critical / the primary function of the system.
At the core of this system there is a cache of objects that can be
modified by anyone, and a windows service (thread) that will run
operations with the cached objects on...
|
by: Timo |
last post by:
I'm trying to make a thread safe object cache without locking.
The objects are cached by the id of the data dict given in __new__.
Objects are removed from the cache as soon as they are no longer
referenced. The type of the data must be a Python dict (comes from an
external source).
Here's what I've got so far:
import time
|
by: Jason Shohet |
last post by:
There's common use of setTimeout() in javascript to cause a delay on the
client of an asp.net app.
I'm experimenting w/ a serverside delay. Ie, maybe there's a backend
process that I want to occur 10 seconds after the user hits the button on
the webpage -- not immediatly. Perhaps 1 codebehind function to call
another codebehind function after a 10 second delay. Any ideas if this can
be done?
|
by: moondaddy |
last post by:
I want to dynamically create a JavaScript file and cache it on the client
for re-use. I know how to write javascript to a web page from the code
behind, but I don't know how to actually create a file such as
MyNewScript.js and then cache that on the client so all the pages of that
session can use it. Can this be done?
Thanks
--
moondaddy@nospam.com
|
by: moondaddy |
last post by:
I have a products catalogue that I'm putting online and there will be
between 20 to 50 different pages of products. Each page contains a datagrid
of products for a given category. However, the categories change from time
to time so the list of categories must be dynamic and database driven (as is
the menu used to select the category to load in the products page). The way
I see it there's 2 possible options. dynamically create each aspx...
|
|
by: Angel |
last post by:
I am saving items in the cache in my code behind. By setting these items with
an expiration are these items only available for the page its being set or
throughout the application? My next question is can these cache items be
accessed on the client side code(Javascript), If so, how? do you have any
javascript code out there that accesses these cached items from the code
behind?
thank you in advance...
|
by: Stan |
last post by:
Not sure if this is by design or not, but it looks weird.
I get a datatable from cache:
dt = (DataTable) Cache;
Then, depending on selection in dropdown list I filter it:
DataView dv = dt.DefaultView;
if (cboStatus.SelectedIndex != 0)
|
by: Peter Strøiman |
last post by:
Hi.
I have a web application that needs to run tasks at regular intervals. E.g.
it must send out emails every night to people who subscribe to that service.
I have come up with one solution, to add a System.Timers.Timer component to
my global.asax file and initialize it in Application_Load. But that would
require that my application never shuts down.
Another alternative is to create a windows service to administer the
|
by: barker7 |
last post by:
In our app, we need to collect data at regular intervals (4, 8 or 16
seconds - user settable). The collection happens in a background
thread. My first approach was to do the collection, which takes about
0.5 seconds, then calculate how much time to sleep until the next
collection.
The problem is that when I cancel the collection, I have to wait for it
to emerge from the sleep before it actually exits. I could call
thread.Abort, but that...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|