I dette særtema om aspekter af AI ser vi på skiftet fra sprogmodeller til AI-agenter, og hvordan virksomheder kan navigere i spændet mellem teknologisk hastighed og behovet for menneskelig kontrol.
A link can look like this with jsp-tags but the code below mighy be hard to understand. But in the below section in the bottom the html-link can be viewed:
<jsp:useBean id=\"myObject\" class=\"se.flowinteractive.aller.object.MyObject\"/> <% String userid = (String)session.getAttribute(Constants.USERID); Vector vector; //Fetch the active Standard Object for sub if (userid != null && !(Integer.parseInt(userid) < 1)) { if(session.getAttribute(Constants.PREVIEW_OBJECT) != null) { myObject = (MyObject) session.getAttribute(Constants.PREVIEW_OBJECT); } else { vector = ObjectHandler.getActivePrevSubObjects(Constants.OBJECT_TYPE_STANDARD, filepost.getTikd()); if(vector.size() >= 1) { myObject = (MyObject) vector.elementAt(0); ObjectHandler.countDisplayedObject(myObject.getObjectcode(),myObject.getTikd(), session); } } } //Fetch the active Standard Object for none-sub else { vector = ObjectHandler.getActiveNotPrevSubObjects(Constants.OBJECT_TYPE_STANDARD, filepost.getTikd()); if(vector.size() >= 1) { myObject = (MyObject) vector.elementAt(0); ObjectHandler.countDisplayedObject(myObject.getObjectcode(),myObject.getTikd(), session); }
A shot in the fog: Is the program activated by the link by any chance reading and writing into the same data source and running seperate threads to handle each request?
It _could_ be an x-lock problem, meaning that the program tries to access data, that the other thread(s) are using and vice versa.
The database solution got a pool of connections, and with my humble knowledge I thought that that means that the x-lock wouldn\'t occur. But I might be wrong.
I also guess that a Servlet (jsp-page) execute one request in a time from a stack or something, as the request come in? I also guess that the System (the orion-server) doesn\'t create more than one instace of a servlet and then let that instance pull works from the stack, but i might be wrong here as well?
Okej, I see, then I guess that the System acctually could run out dataresource if it tries to create a lot of instances of a servlet.
Hmm, then I guess that I have to go throug the architecture again.
Thanks!
By the way you guys doesn\'t happens to know anything about networks caches in networks with proxies and firewalls. I heard that thoose might be horn in the side for a hard request to the real server, and sometime refuse to call the real server for the real page (suppose that you post to the same page) and return tha page that the proxy have stored in it\'s cache?
If it is so we now try to add this into every link: <a href=\"somelink\"?time=<%=System.currentTimeMillis()%> so that the link never would be the same.
Perhaps that is basic knowledge, I do not know? But it would begreat with a comment.
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.